-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TT-13507] Fix for custom domains with substring listen path #6705
base: master
Are you sure you want to change the base?
[TT-13507] Fix for custom domains with substring listen path #6705
Conversation
… macos with apple silicon
💔 The detected issue is not in one of the allowed statuses 💔
Please ensure your jira story is in one of the allowed statuses |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
API Changes no api changes detected |
…tching-when-custom-domains-are-defined
…tching-when-custom-domains-are-defined
…ping slashes and stripping listen path
…tching-when-custom-domains-are-defined
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, this implements the agreed algo, where all paths are order descending by listen path, but those API that have custom domain will be placed in front of those without.
Quality Gate failedFailed conditions See analysis details on SonarQube Cloud Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE |
User description
Actual fix for domain matching edge case related to substring listen paths. Fixed the sorting function for the listen paths and added some unit tests.
Extra: httpbin service not working on macos with apple silicon; now it does
Description
Related Issue
Motivation and Context
How This Has Been Tested
Screenshots (if appropriate)
Types of changes
Checklist
PR Type
Bug fix, Configuration changes
Description
linux/amd64
, addressing compatibility issues on macOS with Apple Silicon.Changes walkthrough 📝
api_loader.go
Fix domain sorting logic in API loader
gateway/api_loader.go
httpbin.yml
Specify platform for httpbin service in Docker configuration
docker/services/httpbin.yml